﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Business.Products.Repositories
{
    public interface IProductSaleSettingRepository : IRepository<ProductSaleSetting , Guid>
    {
        Task<int> GetCountAsync(Guid? productId, Guid? excludeId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<ProductSaleSetting>> GetListAsync(List<Guid> productIds, CancellationToken cancellationToken = default(CancellationToken));

        Task<ProductSaleSetting> GetByProductIdAsync(Guid productId);
    }
}
